export default {
  data() {
    return {
      id: "",
      detailData: {}
    };
  },
  mounted() {
    this.id = this.$route.params.id;
    this.getEnterpriseInfo();
  },
  methods: {
    getEnterpriseInfo() {
      $http.get("plugin.be-within-call.frontend.enterprise.info", { id : this.id }).then(({ data , result , msg }) => {
        console.log(data , result , msg,4343434);
        if (result) {
          this.detailData = data;
        } else {
          this.$toast(msg);
        }
        this.info = true;
      });
    },
  },
  components: { }
};
